package com.cc.models;

import java.util.List;

/**
 * 分页
 * @author chailinxiao
 *
 */
public class Pagination {
	
	private int pageSize;				// 每页大小
	
	private int pageNum;				// 第几页
	
	private int total;					// 总数

	private List<BaseModel> rows;		// 数据
	
	
	public List<BaseModel> getRows() {
		return rows;
	}
	public void setRows(List<BaseModel> rows) {
		this.rows = rows;
	}
	public int getTotal() {
		return total;
	}
	public void setTotal(int total) {
		this.total = total;
	}
	public int getPageSize() {
		return pageSize;
	}
	public void setPageSize(int pageSize) {
		this.pageSize = pageSize;
	}
	public int getPageNum() {
		return pageNum;
	}
	public void setPageNum(int pageNum) {
		this.pageNum = pageNum;
	}
}
